package com.wmx.designMode.observer;

/**********************************
 * @author wmx
 * @date 2019/8/16 14:01
 * @description:
 * @version 1.0
 ************************************/
public class ObserverOne extends AbsObserver {

    ObserverOne(Subject subject){
        super(subject);
    }
    @Override
    public void update() {
        System.out.println("========"+subject.getStr());
    }
}
